<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::prefix('wechat')->group(function() {
    Route::any('/', 'WechatController@serve');
    Route::any('/index', 'WechatController@index');
    Route::any('/user_list', 'WechatController@user_list');
    Route::any('/login', 'WechatController@login'); 
    Route::any('/login/oauth_callback', 'WechatController@oauth_callback'); 
});
